#include "YGPlatform.h"

#if (YG_OS_TYPE == YG_OS_TYPE_ANDROID)

#include "YGDeviceAndroid.h"

namespace YoghurtGum
{

	DeviceAndroid::DeviceAndroid() : Device()
	{

	}

	DeviceAndroid::~DeviceAndroid()
	{

	}

	void DeviceAndroid::Init()
	{
		Log::GetSingleton().Print("Device::Init");

		YG_STUB;
	}

	int DeviceAndroid::GetWidth()
	{
		return m_Width;
	}

	int DeviceAndroid::GetHeight()
	{
		return m_Height;
	}

	char* DeviceAndroid::GetWorkingDirectory()
	{
		YG_STUB;
		return NULL;
	}

	void DeviceAndroid::Resize(int a_Width, int a_Height)
	{
		m_Width = a_Width;
		m_Height = a_Height;

		m_RealWidth = (float)a_Width;
		m_RealHeight = (float)a_Height;

		Log::GetSingleton().Print("Device::Resize - Dimensions: (%i x %i)", m_Width, m_Height);
	}

	float DeviceAndroid::GetRealWidth()
	{
		return m_RealWidth;
	}

	float DeviceAndroid::GetRealHeight()
	{
		return m_RealHeight;
	}

}

#endif